package com.erp.shop.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 店铺绑定记录对象 erp_shop_bind_record
 *
 * @author erp
 * @date 2024-05-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
//@TableName("erp_shop_bind_record")
public class ErpShopBindRecord extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 店铺授权表id
     */
    private Long storeId;
    /**
     * 店铺账号（cn码）
     */
    private String storeUserName;
    /**
     * 绑定用户id
     */
    private Long userId;
    /**
     * 上级代理id
     */
    private Long parentAgentId;
    /**
     * 上级公司id
     */
    private Long parentBranchId;
    /**
     * 乐观锁
     */
    private String revision;

}
